package com.moli.iov.notify.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.moli.iov.notify.model.dto.NoticeAlarmDto;
import com.moli.iov.notify.model.po.NoticeAlarm;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author wanghualin
 * @since 2019-10-08
 */
public interface INoticeAlarmService extends IService<NoticeAlarm> {

    List<NoticeAlarmDto> queryAllNoticeAlarmByProperties(NoticeAlarmDto noticeAlarmDto);

    Boolean updateMailUsedAndSmsUsedById(NoticeAlarmDto noticeAlarmDto);

    NoticeAlarm queryNoticeAlarmByProperties(Long companyId, Integer alarmTypeId, Integer alarmLevelId);

}
